﻿<UserControl x:Class="OpenRPOSBackOffice.ScheduleControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" >

    <Grid x:Name="LayoutRoot" Background="Transparent">
        <StackPanel>
            <sdk:Label Height="15" HorizontalAlignment="Center" Margin="5,5,0,0" Name="lblDate" VerticalAlignment="Top" Width="120"  Content="N/A" />
            <StackPanel Name="spTimeIn" Orientation="Horizontal">
                <sdk:Label Height="20" Width="35" HorizontalAlignment="Right" Margin="10,11,0,0" VerticalAlignment="Top" Content="In" />
                <inputToolkit:TimePicker Height="22" HorizontalAlignment="Left" Margin="5,7,0,0" Name="tpIn" VerticalAlignment="Top" Width="125" Value="" IsEnabled="False" ValueChanged="tpIn_ValueChanged"/>
            </StackPanel>
            <StackPanel Name="spTimeOut" Orientation="Horizontal">
                <sdk:Label Content="Out" Height="19" Width="40" HorizontalAlignment="Right" Margin="5,11,0,0" VerticalAlignment="Top" />
                <inputToolkit:TimePicker Height="22" Margin="5,7,0,0" Name="tpOut" VerticalAlignment="Top" HorizontalAlignment="Left" Width="125" Value="" IsEnabled="False" ValueChanged="tpOut_ValueChanged"/>
            </StackPanel>
            <StackPanel Name="spRole" Orientation="vertical">
                <sdk:Label Height="15" HorizontalAlignment="Center" Margin="5,5,0,0" Name="lblRole" VerticalAlignment="Top" Content="Role" FlowDirection="RightToLeft" />
                <ComboBox Height="33" HorizontalAlignment="Center" Margin="5,3,0,0" Name="cmbRole" VerticalAlignment="Top" Width="184" IsEnabled="False" />
                <CheckBox x:Name="cbRecurrence" Margin="0,4,0,4" Content="Repeat every week" HorizontalAlignment="Center" IsEnabled="False" Padding="3,-3,0,0"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal"  HorizontalAlignment="Center">
                <StackPanel Width="72" >
                    <Button Width="20" Content="&lt;" Name="btnPrevSchedule" Visibility="Collapsed" HorizontalAlignment="Right" Click="btnPrevSchedule_Click" />
                </StackPanel>
                <StackPanel Width="72">
                    <sdk:Label Height="15" HorizontalAlignment="Center" Margin="5,5,0,0" Name="lblSchedules" VerticalAlignment="Top" Width="70"  Content="N/A" Visibility="Collapsed" />
                </StackPanel>
                <StackPanel Width="72">
                    <Button Width="20" Content="&gt;" Name="btnNextSchedule" Visibility="Collapsed" HorizontalAlignment="Left" Click="btnNextSchedule_Click" />
                </StackPanel>
            </StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Height="40">
                <Button Content="Add" Width="50" Margin="15,0,0,0" Name="btnAddSchedule" Height="35" Visibility="Collapsed" Click="btnAddSchedule_Click"  />
                <Button Content="Delete" Width="58" Margin="15,3,0,2" Name="btnDeleteSchedule" Height="35" Visibility="Collapsed" Click="btnDeleteSchedule_Click" />
                <Button Content="Note" Width="50" Margin="15,0,15,0" Name="btnNote" Height="35" Click="btnNote_Click" />
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
